package team3;

import java.util.List;
import project2.AI;

public class BoardState
{
	private AI.Player[][] state;

	//needs to support construction from 'Player[][] boardState'
	//Should support a 'make move' that returns a new board state
	//Needs to be able to find all valid moves for a given player, and return them

	public BoardState(AI.Player[][] state)
	{
		this.state=state;
	}

	public BoardState makeMove(AI.Player player, int[] move)
	{
		//if move is invalid, just make a direct copy of state
		//	(invalid moves (null, negative values, possibly bad moves) represent 'pass's.

		//create a copy of the state, then modify the new state according to game rules
		//return the new board state
		return null;
	}

	public List<int[]> getAvailableMoves(AI.Player player)
	{
		//find all moves that can be made by the given player
		return null;
	}

	public AI.Player[][] getState()
	{
		//simple accessor method for use by UI's; returns the state
		return null;
	}
}

